package com.hoshiibuy.dictionary.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshiibuy.dictionary.mapper.IDicIndClsMapper;
import com.hoshiibuy.dictionary.service.IDicIndClsService;
import com.hoshiibuy.dictionary.entity.DicIndClsVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author guangjinwei
 * @create 2019-04-18
 */
@Service
public class DicIndClsServiceImpl extends ServiceImpl<IDicIndClsMapper, DicIndClsVo> implements IDicIndClsService {
    @Override
    public List<DicIndClsVo> findDicIndClsList() {
        return baseMapper.findDicIndClsList();
    }

    @Override
    public void saveDicIndCls(DicIndClsVo dicIndClsVo) {
        baseMapper.insert(dicIndClsVo);
    }
}
